﻿using CoreRay;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace CoreRay.Testing
{
    //-----------------------------------------------------------------------------------------
    /// <summary>
    /// This is a test class for SampleTest and is intended
    /// to contain all SampleTest Unit Tests.
    /// </summary>
    //-----------------------------------------------------------------------------------------
    [TestClass]
    public class SampleTest
    {
        //-----------------------------------------------------------------------------------------
        /// <summary>
        /// A test for Sample Constructor.
        /// </summary>
        //-----------------------------------------------------------------------------------------
        [TestMethod]
        public void SampleConstructorTest()
        {
            float imagePositionX = 5.6f;
            float imagePositionY = -89.14f;

            Sample target = new Sample(imagePositionX, imagePositionY);

            Assert.IsTrue(target.ImagePositionX == imagePositionX && target.ImagePositionY == imagePositionY);
        }
    }
}
